package com.zy.server.service;

import com.zy.dto.UserDto;
import com.zy.server.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.vo.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张鑫
 * @since 2020-11-27
 */
public interface UserService extends IService<User> {

    R login(UserDto userDto);

    R register(UserDto userDto);

    R checkPhone(String phone);
}
